if [ ! -e "/lnmp/nginx/conf/conf.d/dog.conf" ]; then
  cp dog.online.conf /lnmp/nginx/conf/conf.d/dog.conf
  cd /lnmp
  docker-compose restart nginx
fi
cd /lnmp/nginx/www/dog
chmod 777 -R public
chmod 777 -R runtimes